home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-08-23 | 1.3 KB | 41 lines | [TEXT/MPS ] |
-
- ############################################################################
- ############################################################################
- ## ##
- ## RezDeting SCRIPT ##
- ## by Cindy Roberts ##
- ## March 22, 1988 ##
- ## ##
- ## Copyright Apple Computer, Inc. 1988-90 ##
- ## All rights reserved. ##
- ## ##
- ## This script RezDets all of the files on a disk. This should be done ## ##
- ## by all files that were altered with ResEdit because that program tends##
- ## to add extra bytes to files. ##
- ############################################################################
- ############################################################################
-
-
-
-
-
-
- Alert "Put the disk into drive 1...." ; # Alerts the user
- Set DiskName `volumes 1`; # Gets the disk name
-
- For i in `files -r -s -f "{DiskName}"` # For each file
- if "{i}" != "{DiskName}Desktop" && "{i}" != "{DiskName}DeskTop" # that's not the desktop file
- echo "Checking ∂"{i}∂"..." ; # progress info for user
- RezDet "{i}";
- End ;
- End ;
-
- echo ;
- echo "All done" ; # message to user
- Beep;
-
-
-
-
-
-